package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialChangeRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialChangePo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialChangeDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialChangeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialChangeDomainImpl extends BaseDomainImpl<ContractInitialChangeDto, ContractInitialChangePo> implements ContractInitialChangeDomain {

    @Resource
    private ContractInitialChangeRepository contractInitialChangeRepository;

    @Override
    public BaseRepository<ContractInitialChangePo> getMapper() {
        return contractInitialChangeRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialChangePo>> getRepositoryClass() {
        return ContractInitialChangeRepository.class;
    }

}
